package com.wetao.lib_common.common.contract;


import com.wetao.lib_common.base.Base2Response;
import com.wetao.lib_common.base.BasePresenter;
import com.wetao.lib_common.base.BaseResponse;
import com.wetao.lib_common.base.BaseViewImp;

import java.util.HashMap;

/**
 * LoginContract
 */
public interface PwdResetContract {

    //方法命名以 请求方法+Result  命名
    interface View extends BaseViewImp {

        //重置密码
        void getResetPwdResult(Base2Response data);


        //发送短信获取验证码
        void getVerifyCodeResult(BaseResponse data);

    }

    //方法命名以 get+方法  命名
    abstract class Presenter extends BasePresenter<View> {

        public abstract void getResetPwd(HashMap<String, String> map, boolean isDialog, boolean cancelable);

        public abstract void getVerifyCode(HashMap<String, String> map, boolean isDialog, boolean cancelable);
    }
}
